package com.itheima.tilas.po;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.time.LocalDate;

/**
 * 接收分页查询班级的参数类
 * @author 132
 */
@Data
public class SelectClazzPageParam {
    @NotNull(message = "姓名不能为空")
    @Length(min = 4,max = 30,message = "姓名长度范围是[4,30]")
    private String name;
    private Integer begin;
    private Integer end;
    private Integer page;
    private Integer pageSize;
}
